use_frameworks!

platform :ios, '13.0'

source 'https://gitee.com/zj1208/specs.git'
source 'https://gitee.com/mirrors/CocoaPods-Specs.git'

target 'ZXCategories_Example' do
  pod 'ZXCategoriesUtil', :path => '../'
  pod 'ZXMBProgressHUD'
  pod 'Masonry'
  
  target 'ZXCategories_Tests' do
    inherit! :search_paths

    pod 'FBSnapshotTestCase'
  end
end


#在xcode15之后，移除了iOS12之前的某个库，所以必须iOS12以上才能在真机运行，不然缺少库无法运行。
post_install do |installer|
    installer.pods_project.targets.each do |target|
        target.build_configurations.each do |config|
            config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
            config.build_settings['CODE_SIGN_IDENTITY'] = ''
        end
    end
end
